home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_BallsAndBubbles_Galva < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.3 KB  |  71 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A galvanized metal ball',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 100, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (58,58,72), 
  20.                 'Direction': (0.623542,0.78179,-2.98023e-010), 
  21.                 'HighlightSize': 35
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (59,69,63), 
  25.                 'Direction': (-0.707107,-0.707107,0), 
  26.                 'HighlightSize': 33
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (79,81,65), 
  30.                 'Direction': (-0.26499,0.534265,0.802709), 
  31.                 'HighlightSize': 33
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (128,128,128), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': 3, 
  51.                 'FileName': 'Galvanized', 
  52.                 'Fit': App.Constants.Boolean.true, 
  53.                 'Size': 100, 
  54.                 'Smoothness': 0
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.true, 
  58.                 'FileName': 'Galvanized', 
  59.                 'PatternOpacity': 98, 
  60.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  61.                 }, 
  62.             'Gloss': 59, 
  63.             'Opacity': 100, 
  64.             'Shininess': 39
  65.             }
  66.         }
  67.  
  68. def Do(Environment):
  69.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  70.  
  71.